.PHONY:all
all:volatile optimize mysignal

volatile:volatile.c 
	gcc -o $@ $^ -O2

optimize:optimize.cc
	g++ -o $@ $^ -std=c++11

mysignal:mysignal.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f mysignal volatile optimize